package com.aspose.cells;

class zbzw extends zcdb {
   private static zbzw a = null;
   private static Object b = new Object();

   static zbzw a() {
      if (null == a) {
         Object var0 = b;
         synchronized(b) {
            if (null == a) {
               a = new zbzw();
            }
         }
      }

      return a;
   }

   zcdb a(Object var1) throws Exception {
      Object var2 = null;
      if (var1 instanceof Double) {
         var2 = new zdo(var1);
      } else if (var1 instanceof Integer) {
         var2 = new zdm(var1);
      } else if (var1 instanceof String) {
         var2 = new zdp(var1);
      } else if (var1 instanceof Boolean) {
         var2 = new zdj(var1);
      } else if (var1 instanceof DateTime) {
         var2 = new zdk(var1);
      } else if (var1 == null) {
         var2 = new zdn(var1);
      } else {
         var2 = new zdl(var1);
      }

      return (zcdb)var2;
   }
}
